﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NineSeas.ViewModels
{
    [Serializable]
    public class MenuItem
    {
        public MenuItem():
            this(String.Empty, null)
        {
        }
        public MenuItem(string text, IEnumerable<MenuItem> children)
        {
            Text = text;
            Children = children;
        }
        public string Text { get; set; }
        public string Route { get; set; }
        public IEnumerable<MenuItem> Children { get; private set; }
    }
}